Skip to main content

SignSafeTransactionRequest

Message URI: https://ligo.dev/didcomm/agent/1.0/sign-safe-transaction-request

Request an agent to sign a SafeTransaction.

{
"id": "<UUID>",
"type": "https://ligo.dev/didcomm/agent/1.0/sign-safe-transaction-request",
"body": {
"agreement": { "/": "<CID of encrypted agreement>" },
"safeTransactionData": { "/": "<CID of SafeTransactionData>" },
},
"attachments": [
{
"id": "<CID of SafeTransactionData>",
"data": {
"base64": "<base64 encoded block of SafeTransactionData>"
}
}
]
}
type SafeTransactionData Map

type SignSafeTransactionRequest struct {
agreement &DagJWE
safeTransactionData &SafeTransactionData
}

Agent Handling

The agent should:

  1. Fetch signer for agreement
  2. Sign SafeTransactionData
  3. Reply with SignSafeTransactionResponse

Peer Handling

The peer should do nothing.